package com.wyj.service.impl;

import com.wyj.client.HelloClient;
import com.wyj.service.ClientService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author ：wyj
 * @description：TODO
 * @date ：2022/12/27 12:08 上午
 */
@Service
public class ClientServiceImpl implements ClientService {

    @Resource
    HelloClient helloClient;

    @Override
    public String getUserName(String name) {
        return helloClient.SayHello(name);
    }
}
